<template>
  <div>
    <el-card class="box-card" style="margin: 1rem">
      <el-table
        :data="list"
        style="width: 100%"
        border
        stripe
        size="medium "
        :header-cell-style="{ background: '#ebeef5' }"
      >
        <el-table-column type="index" label="序号" width="180">
        </el-table-column>
        <el-table-column prop="columnName" label="板块名称"> </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [],
    };
  },
  mounted(){
    this.getList()
  },
  methods: {
    // 获取列表数据
    async getList(){
      let result = await this.$API.pageModule.reqGetPage()
      if (result.status == 200) {
        this.list = result.data
      }
    }
  },
};
</script>

<style lang="scss" scoped></style>
